<?php
$login = array(
	'name'	=> 'login',
	'id'	=> 'login',
        'class' => 'input-large',
        'placeholder' => 'Usuario o E-Mail',
	'value' => set_value('login'),
	'maxlength'	=> 80,
	'size'	=> 30,
);
if ($this->config->item('use_username', 'tank_auth')) {
	$login_label = 'Usuario o E-Mail:';
} else {
	$login_label = 'E-Mail';
}
$form_atributes = array('class' => 'form-horizontal');
$label_login=array('class' => 'control-label');
$form_submit_atritubes=array('class' => 'btn btn-primary','name'=>'submit','value' => 'Cambiar Contraseña')
?>
<div class="span5 offset4">
         
         <br>
         <br>
         <br>
         <br>
 <?php echo form_error($login['name'],'<div class="alert alert-error">','</div>'); ?> 
 <?php if(isset($errors[$login['name']])): ?>
    <div class="alert alert-error">
        <?php echo $errors[$login['name']]?>
    </div>
    <?php endif ?>
         
<?php echo form_open($this->uri->uri_string(),$form_atributes); ?>

         <div class="control-group">
             <?php echo form_label($login_label, $login['id'],$label_login); ?>
             <div class="controls">
                 <?php echo form_input($login); ?>
             </div>
         </div>
         <div class="control-group">
             <div class="controls">
                 <?php echo form_submit($form_submit_atritubes); ?>
             </div>
         </div>
		



<?php echo form_close(); ?>
     
</div>
